Skip to content

Update docstrings in io.py#81

Merged
JR-1991 merged 1 commit into
mainfrom
measurement-docstrings
Aug 21, 2025
Merged

Update docstrings in io.py#81
JR-1991 merged 1 commit into
mainfrom
measurement-docstrings

Conversation

@jmrohwer
Copy link
Copy Markdown
Member

@jmrohwer jmrohwer commented Aug 21, 2025

There are several methods in the EnzymeMLHandler class that are exposed in the top-level pe namespace. The docstrings of these methods were very cryptic, however, most of them directly call identically named methods from tabular.py, serializer.py or petab/io.py.

This PR updates the docstrings with the more complete versions from the actual methods that are called, so that they are more accessible to the user during interactive use, e.g.

[1]:  pe.from_csv?

This provides, amongst others, additional information on the required structure of the CSV or Excel files, or pandas DataFrame, which are imported and makes it easier for the user to query this information without delving into the source code.


This change is Reviewable

@JR-1991 JR-1991 self-assigned this Aug 21, 2025
@JR-1991 JR-1991 added the documentation Improvements or additions to documentation label Aug 21, 2025
@JR-1991 JR-1991 added this to EnzymeML Aug 21, 2025
@JR-1991
Copy link
Copy Markdown
Member

JR-1991 commented Aug 21, 2025

Thanks @jmrohwer! The updated docstrings are great. Merging 🙌

@JR-1991 JR-1991 merged commit 5f6cdac into main Aug 21, 2025
6 checks passed
@github-project-automation github-project-automation Bot moved this to Done in EnzymeML Aug 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants